package com.zzyl.quartz.task;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @Author mr.wu
 * @Data #{DATE} #{TIME}
 */
@Component("statusTask")
@Slf4j
public class StatusTask {

    @Autowired
    private IContractService contractService;
    public void updateContractStatus(){
        contractService.updateStatusTask();
        log.info("合同状态信息更新成功");
    }
}
